﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Shared
{
    [DataContract]
    public class ProxySetting
    {
        [DataMember]
        public string Address { get; set; }

        [DataMember]
        public string Username { get; set; }

        [DataMember]
        public int Port { get; set; }

        [DataMember]
        public string Password { get; set; }

        [DataMember]
        public bool Active { get; set; }

        public override string ToString()
        {
            return Address + ":" + Port;
        }
    }
}
